Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor disk index bucket::find_entry_mut #30877

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

#30711

This function has been a consistent source of trouble with the borrow checker.

Summary of Changes

Refactoring to take a mut ref to the index as opposed to self. This helps.

Fixes #

@codecov
Copy link

codecov bot commented Mar 23, 2023

Codecov Report

Merging #30877 (0c8b363) into master (0291e8c) will decrease coverage by 0.1%.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #30877     +/-   ##
=========================================
- Coverage    81.4%    81.4%   -0.1%     
=========================================
  Files         723      723             
  Lines      203812   203811      -1     
=========================================
- Hits       166064   166056      -8     
- Misses      37748    37755      +7     

Copy link
Contributor

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffwashington jeffwashington merged commit b54c2cc into solana-labs:master Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants